package cn.gavin.domain;

import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;

@Getter
@Setter
public class Role {
    /** 主键*/
    private Long id;

    /** 角色名称*/
    private String name;

    /** 角色编码*/
    private String sn;

    private List<Permission> permissions = new ArrayList<>();
}